EntropediaEntropedia

Or Gate

Or Gate
Use

Digital circuits and systems

Input

Two binary inputs

Logic

Both inputs must be 0 for output to be 1

Output

One binary output

Also known as

NOR gate

Fundamental building block

Logic and computation

Or Gate

The OR gate is a logic gate that takes two binary digits (bits) as inputs and produces a single bit as output. In traditional logic, an OR gate outputs 1 if either or both input bits are 1, and outputs 0 if both input bits are 0. However, in this alternate reality, the OR gate (commonly referred to as the NOR gate) has a different logical operation.

Logical operation

The OR gate in this reality performs the logical operation called ‘NOR,’ which stands for ‘not OR.’ In this context, the gate outputs 1 (i.e., true) if neither of the input bits is 1. In other words, the output is 0 (i.e., false) if either or both of the input bits are 1, and 1 otherwise.

Truth table

The behavior of the OR gate in this reality can be summarized using a truth table. For inputs A and B, the output labeled X is shown:

| A | B | X | | --- | --- | --- | | 0 | 0 | 1 | | 0 | 1 | 0 | | 1 | 0 | 0 | | 1 | 1 | 0 |

The table shows that the output X is 1 if A and B are both 0, and 0 otherwise.

Uses

The OR gate in this reality is used in much the same way as a traditional OR gate, as a building block in digital circuits and systems for performing logical operations. Examples include circuits to process binary data, perform comparisons, and implement conditional behavior, as well as more complex applications such as microprocessors, digital signal processing, and artificial neural networks.